Fix gtk_selection_data_get_data annotations
authorDieter Verfaillie <dieterv@optionexplicit.be>
Wed, 11 Jun 2014 20:16:36 +0000 (22:16 +0200)
committerDieter Verfaillie <dieterv@optionexplicit.be>
Thu, 12 Jun 2014 19:01:01 +0000 (21:01 +0200)
The annotations were intended for the return
value, not the instance argument.

https://bugzilla.gnome.org/show_bug.cgi?id=731299

gtk/gtkselection.c

index 17f0365e3f36680db5a4d0d379989430aedd2eb2..a2da6739c836b04f9061ce11d0bfae6480fefbc3 100644 (file)
@@ -1214,12 +1214,12 @@ gtk_selection_data_get_format (const GtkSelectionData *selection_data)
 
 /**
  * gtk_selection_data_get_data: (skip)
- * @selection_data: (array) (element-type guint8): a pointer to a
+ * @selection_data: a pointer to a
  *   #GtkSelectionData-struct.
  *
  * Retrieves the raw data of the selection.
  *
- * Returns: the raw data of the selection.
+ * Returns: (array) (element-type guint8): the raw data of the selection.
  *
  * Since: 2.14
  **/